import {createRouter, createWebHistory, createWebHashHistory, createMemoryHistory} from 'vue-router'


const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('@/views/HomeView.vue')
    },
    {
      path: '/guanzhu',
      name: 'guanzhu',
      component: () => import('@/views/GuanZhu.vue')
    },
    {
      path: '/videoList',
      name: 'videoList',
      component: () => import('@/views/HomeView.vue'),
    },
    {
      path: '/friend',
      name: 'friend',
      component: () => import('@/views/Friend.vue')
    },
    {
      path: '/discover',
      name: 'discover',
      component: () => import('@/views/DiscoverView.vue')
    },
    {
      path: '/publish',
      name: 'publish',
      component: () => import('@/views/PublishView.vue')
    },
    {
      path: '/messages',
      name: 'messages',
      component: () => import('@/views/MessageView.vue')
    },
    {
      path: '/create',
      name: 'create',
      component: () => import('@/views/Create.vue')
    },
    {
      path: '/profile',
      name: 'profile',
      component: () => import('@/views/ProfileView.vue'),
    },
    {
      path: '/userIndex',
      name: 'userIndex',
      component: () => import('@/views/ProfileView.vue'),
    },
    {
      path: '/ai',
      name: 'ai',
      component: () => import('@/views/AiChat.vue'),
    }
  ]
})




export default router
